home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et3_0-a1.lha / et3 / src / UNIX / makefile < prev    next >
Makefile  |  1992-08-20  |  1KB  |  48 lines

  1. .SUFFIXES: .C
  2.  
  3. CFLAGS  = -DGNU_DL
  4. CC      = etCC
  5.  
  6. .C.o:
  7.     $(CC) $(CFLAGS) -c $<
  8.  
  9. OFILES  =   UnixSystem.o system.o UnixPtty.o ptty.o dynlink.o
  10.  
  11. all:    unix.o
  12.  
  13. # don't use gcc (gnu CPP may not work for ioctl.h ttychars.h)
  14. ptty.o: 
  15.     cc -c ptty.c
  16.  
  17. unix.o:  $(OFILES)
  18.     $(CC) -r -o unix.o $(OFILES)
  19.  
  20. #--------------------------------------------------------------------------------
  21.  
  22. depend:
  23.     etmakedep -I.. *.[cC]
  24.  
  25. clean:
  26.     rm -f core $(OFILES) *..c errs 
  27.  
  28. clobber:    clean
  29.     rm -f unix.o makefile.bak .MAP/*
  30.  
  31. touch:
  32.     $(MAKE) -t
  33.  
  34.  
  35. # DO NOT DELETE THIS LINE -- make depend depends on it.
  36.  
  37. UnixPtty.o: UnixPtty.h ../../src/PttyConnection.h ../../src/Types.h ptty.h
  38. UnixSystem.o: UnixSystem.h ../../src/System.h ../../src/Object.h
  39. UnixSystem.o: ../../src/Types.h ../../src/Storage.h ../../src/Stream.h
  40. UnixSystem.o: ../../src/Directory.h ../../src/Class.h ../../src/String.h
  41. UnixSystem.o: ../../src/CType.h ../../src/CLib.h ../../src/Error.h UnixPtty.h
  42. UnixSystem.o: ../../src/PttyConnection.h ../../src/ClassManager.h
  43. UnixSystem.o: ../../src/CONTAINER/OrdColl.h ../../src/CONTAINER/SeqColl.h
  44. UnixSystem.o: ../../src/CONTAINER/Collection.h
  45. UnixSystem.o: ../../src/CONTAINER/Container.h ../../src/CONTAINER/Iterator.h
  46. UnixSystem.o: ../../src/Env.h ../../src/Symbol.h ../../src/Exception.h
  47. UnixSystem.o: ../../src/Math.h system.h
  48.